<?php
namespace app\admin\controller\clockin;

use app\BaseController;
use think\facade\View;

class ClockinActivity extends BaseController
{
    public function pageListPoem()
    {
        return View::fetch("study/clockin_activity/listClockinActivityPoem");
    }

    public function pageEnVocabularyList()
    {
        return View::fetch("study/clockin_activity/listClockinActivityEnVocabulary");
    }

    public function pageAddPoem()
    {
        return View::fetch("study/clockin_activity/addClockinActivityPoem");
    }

    public function pageEditPoem()
    {
        $id = $this->requestData['id'];
        View::assign("id", $id);
        return View::fetch("study/clockin_activity/editClockinActivityPoem");
    }

    /**
     * Desc: 每个页面的datagrid code不同，页面无法共用
     * @return string
     * Datetime: 2024/12/9 16:25 by zdb
     */
    public function pageJoinPoem()
    {
        return View::fetch("study/clockin_activity/joinClockinActivityPoem");
    }


    public function pageEdit()
    {
        $id = $this->requestData['id'];
        View::assign("id", $id);
        return View::fetch("study/clockin_activity/editClockinActivity");
    }

    public function pageListMovieWordEn()
    {
        return View::fetch("study/clockin_activity/listClockinActivityMovieWordEn");
    }

    public function pageAddMovieWordEn()
    {
        return View::fetch("study/clockin_activity/addClockinActivityMovieWordEn");
    }

    public function pageEditMovieWordEn()
    {
        $id = $this->requestData['id'];
        View::assign("id", $id);
        return View::fetch("study/clockin_activity/editClockinActivityMovieWordEn");
    }

    public function pageJoinMovieWordEn()
    {
        return View::fetch("study/clockin_activity/joinClockinActivityMovieWordEn");
    }

}